package com.menggudf.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.menggudf.service.PartService;

@RequestMapping("/part")
@Controller
public class PartController {
    
    @Autowired
    PartService partService;
    
    @RequestMapping("/queryAllPartGroups")
    @ResponseBody
    public Map<String, Object> queryPartList(){
                return partService.queryAllPartGroups();
        
    }
}
